home *** CD-ROM | disk | FTP | other *** search
- Path: lkf1234.deltanet.com!user
- From: fuz@deltanet.com (Scott Ellsworth)
- Newsgroups: comp.lang.c
- Subject: Re: Conversion between 80 and 64 bit doubles
- Date: Mon, 26 Feb 1996 00:07:43 -0800
- Organization: Knowledge Diffraction
- Message-ID: <fuz-2602960007430001@lkf1234.deltanet.com>
- References: <4gifto$aaa@news2.deltanet.com>
- NNTP-Posting-Host: lkf1234.deltanet.com
- X-Newsreader: Yet Another NewsWatcher 2.1.8
-
- In article <4gifto$aaa@news2.deltanet.com>, fuz@deltanet.com (Scott
- Ellsworth) wrote:
-
- >As part of a project I am working on, I have to convert between
- >an 80 bit double written on a PC to a 64 bit unix number.
- <...>
-
- Thanks to all of you who replied. (I will assume that those who did not
- reply publicly did not want your names mentioned.)
-
- I have a simple algorithm that works for my limited case, primarily
- because I was going from 64 to 80, and I knew in advance that there were
- no INF, NaN, or other exceptional conditions. I suspect it is not
- terribly fast, but it does need to be for my application.
-
- Thanks again,
-
- Scott
-
- --
- fuz@deltanet.com
- "You die, she dies, EVERYbody dies" - Heavy Metal
- "When a great many people are unable to find work, unemployment results" - Calvin Coolidge, attrib. by Stanley Walker, City Editor, p. 131 (1934)
-